<?php


namespace designpatterns\factory\other;


use designpatterns\factory\Shape;

class Square implements Shape
{
    private $side;

    public function __construct($side)
    {
        var_dump(5);
        $this->side = $side;
    }


    public function draw()
    {
        // TODO: Implement draw() method.
        echo "Drawing a square with side length " . $this->side . "<br>";
    }
}